package com.kingdee.eas.custom.safety;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class SafeToolFactory
{
    private SafeToolFactory()
    {
    }
    public static com.kingdee.eas.custom.safety.ISafeTool getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.custom.safety.ISafeTool)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("20A036B6") ,com.kingdee.eas.custom.safety.ISafeTool.class);
    }
    
    public static com.kingdee.eas.custom.safety.ISafeTool getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.custom.safety.ISafeTool)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("20A036B6") ,com.kingdee.eas.custom.safety.ISafeTool.class, objectCtx);
    }
    public static com.kingdee.eas.custom.safety.ISafeTool getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.custom.safety.ISafeTool)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("20A036B6"));
    }
    public static com.kingdee.eas.custom.safety.ISafeTool getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.custom.safety.ISafeTool)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("20A036B6"));
    }
}